<head>
    <link rel="stylesheet" href="../reset.css">
</head>

<style>
    div{
        width: 100%;
        height: 40px;
        background-color: #333;
    }
    div a{
        display: inline-block;
        line-height: 40px;
        color: #b0b0b0;
    }
    div span{
        color: #424242;
    }
    div a:hover{
        color: #fff;
    }
</style>

<body>
    <div>
        <a href="#">小米商城</a>
        <span>|</span>
        <a href="#">MIUI</a>
        <span>|</span>
        <a href="#">loT</a>
        <span>|</span>
        <a href="#">云服务</a>
    </div>

</body>